package com.open.capacity.workflow.model.WFEngine;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * 工作流线段
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WFLineInfo implements Serializable {

    private static final long serialVersionUID = 749360940290141180L;

    //线条Id
    private String id;
    //线条名称
    private String name;

    //工作流条件节点-条件字段（优先执行）
    private List<WFCondition> conditions;
    //条件判断sql语句所在数据库主键
    private String dbConditionId;
    //条件判断sql语句
    private String conditionSql;

    //开始端节点ID
    private String from;
    //结束端节点ID
    private String to;
    //sp  ep
    private String type;

    private String sp;

    private String ep;

    //线段类型 1.是 2.否 3.超时 4.超时或是 5.超时或否 6.是否
    private Integer wftype;

    private Integer m;

}